#
# Be sure to run `pod lib lint ACFrameworkSwift.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'ACFrameworkSwift'
  s.version          = '0.1.0'
  s.summary          = 'Basic framework of Swift version'
  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://github.com/allencao/ACFrameworkSwift'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'fisherhman' => 'fisherman1024@163.com' }
  s.source           = { :git => 'https://github.com/caoyaqiang/ACFrameworkSwift.git', :tag => s.version.to_s }

  s.ios.deployment_target = '9.0'
  s.swift_version = '5.0'

#  s.static_framework = true
#  s.pod_target_xcconfig = {
#    'OTHER_LDFLAGS' => '$(inherited) -ObjC',
#    'ENABLE_BITCODE' => 'NO'
#  }
#  s.default_subspec = 'Log'

  s.resource_bundles = {
      'ACFrameworkSwift' => ['ACFrameworkSwift/Assets/Font/*.ttf']
  }
  
  s.subspec 'Log' do |ss|
      ss.source_files = 'ACFrameworkSwift/Classes/Log/Sources/*'
      ss.ios.vendored_frameworks = 'ACFrameworkSwift/Classes/Log/Framework/*.framework'
      ss.frameworks = 'SystemConfiguration'
      ss.libraries  = 'z', 'c++'
      ss.public_header_files = 'ACFrameworkSwift/Classes/Log/Sources/XLogBridge.h'
  end
  
  s.subspec 'Extension' do |ss|
    ss.source_files = 'ACFrameworkSwift/Classes/Extension/*'
  end
  
  s.subspec 'DynamicType' do |ss|
    ss.source_files = 'ACFrameworkSwift/Classes/DynamicType'
  end
  
  s.subspec 'Theme' do |ss|
    ss.source_files = 'ACFrameworkSwift/Classes/Theme/*'
  end
  
  s.subspec 'TransitionAnimation' do |ss|
    ss.source_files = 'ACFrameworkSwift/Classes/TransitionAnimation/*'
  end

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
